using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using MimeCloud.AssetManagement.Business.Interface;

namespace MimeCloud.AssetManagement.AssetRendering.AssetContent
{
    /// <summary>
    /// Interaction logic for FlashContentViewer.xaml
    /// </summary>
    public partial class FlashContentViewer : UserControl, IAssetContentViewer
    {
        public FlashContentViewer()
        {
            InitializeComponent();
        }

        #region IAssetContentViewer Members

        public void DisplayAssetContent(IAssetContent content)
        {
            string sourceAd = ThumbnailHelper.GetDisplayPathForContent(content);
            SourceAddress.Text = sourceAd;
            //FlvMetaInfo flvI = FlvMetaDataReader.GetFlvMetaInfo(sourceAd);
           // FlvMetaInfoDisplay.DataContext = flvI;
        }

        #endregion
    }
}
